package com.allwayz.service;

import com.allwayz.domain.Order;

import java.util.List;

/**
 * @author allwayz
 */
public interface OrderService {
    /**
     * 创建订单
     * @param order
     */
    void create(Order order);

    /**
     * 查询所有订单
     * @return arrayList
     */
    List<Order> getAllOrder();

}
